import React from "react"
import { Route, Routes, Link } from "react-router-dom"
import MyStory from "./MyStory"
import Notice from "./Notice"
function UserPage() {
    return (
        <div>
            <h1>USER组件</h1>
            <Link to="../setting">去编辑</Link>
            <div style={{ background: "red" }}>
                动态展示
                <Routes>
                    <Route path="*" element={<Notice />}></Route>
                    <Route path="mystory" element={<MyStory />}></Route>
                </Routes>
            </div>
        </div>
    )
}

export default UserPage
